<h2 class="grid_12">Tarifas</h2>
<span></span>
<div class="grid_8">
  <div class="box">
     <div class="header">
	<?php echo $this->Html->image("img/icons/packs/fugue/16x16/shadeless/table-excel.png",
array('width' => "16", 'height' => "16")) ?>
	<h3>Listado de socios</h3><span></span>
	</div>
    <div class="content">
     <table class="table" id="table-example">
	<thead>
		<tr>
        <th>Nro</th>
		<th>Categoria</th>
		<th>Tarifa</th>
        <th>Monto total</th>
		<th>Oficina Nacional</th>
        <th>Regional</th>
   		<th>Acciones</th>
	    </tr>
	</thead>
	<tbody>
	<?php
if (!empty($tarifas)):
    foreach ($tarifas as $tarifa): ?>
	<?php $id = $tarifa['Tarifa']['id']; ?>
<tr>
    <td><?php echo $id ?></td>
	<td><?php echo $tarifa['Categoriastarifa']['nombre']; ?></td>
	<td><?php echo $tarifa['Tarifa']['descripcion']; ?></td>
    <td><?php echo $tarifa['Tarifa']['monto_total']; ?></td>
    <td>
    <?php echo $tarifa['Tarifa']['nacional']; ?>
    </td>
    <td><?php echo $tarifa['Tarifa']['regional'] ?></td>	
    
   <td>
<?php
        echo $this->Html->link($this->Html->image("icons/packs/diagona/16x16/018.png",
            array("alt" => "Editar")), array('action' => "editar", $tarifa['Tarifa']['id']),
            array('escape' => false));
?>&nbsp;
             <?php echo $this->Html->link($this->Html->image("cross.png", array
        ("alt" => "ver")), array('action' => "eliminar", $tarifa['Tarifa']['id']), array
            ('escape' => false), ("Desea eliminar realmente??")); ?>
   </td>
</tr>
<?php endforeach;
endif;
?>
	</tbody>   
	</table>
    </div>
  </div>
</div>
<div class="grid_4">
			<div id="blocks" class="box tabbed">
		 		<div class="header">
				<h3>Acciones</h3>
				</div>
				<div class="content">
					<ul id="block-list-icons" class="block-list with-icon tab-content">
						<li class="i-16-calendar"><?php echo $this->Html->link('Tarifas', array('action'=>'index'))?></li>
						<li class="i-16-application"><?php echo $this->Html->link('Nueva tarifa',array('action'=>'insertar'))?></li>
						<li class="i-16-drive">Imprimir</li>
						<li class="i-16-chart">Reportes</li>
						<li class="i-16-balloon">Lorem ipsum</li>
					</ul>
				</div> <!-- End of .content -->
				</div> <!-- End of .box -->
</div> <!-- End of .grid_4 -->
<div class="clear"></div>